/*
 Problem Description
Give you a number on base ten,you should output it on base two.(0 < n < 1000)
 

Input
For each case there is a postive number n on base ten, end of file.
 

Output
For each case output a number on base two.
 

Sample Input
1
2
3
 

Sample Output
1
10
11

 */
package com.yuan.algorithms.acm201504;

import java.util.Scanner;

public class HD2051十进制转换为二进制 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		while(sc.hasNext()) {
			int n = sc.nextInt();
			System.out.println(Integer.toBinaryString(n));
		}

	}

}
